import BankDefinitionComp from 'containers/basic-data/bank-definition/bank-definition';
import LabdrerAndDriver from 'containers/basic-data/laborer-and-driver/LaborerAndDriver';
import Vehicle from 'containers/basic-data/vehicle/Vehicle';
import RegionalMarket from 'containers/basic-data/regional-market/regional-market'
import GiftContact from 'containers/basic-data/gift-contact/gift-contact';
import ImportPublicCard from 'containers/basic-data/import-public-card/import-public-card';
import VehicleDetail from 'containers/basic-data/vehicle/vehicle-detail';
import BOGEntityCardStock from 'containers/setting/bog-entity-card-stock/bog-entity-card-stock';

// 基础数据
const basicData = {
  key: 'basic-data',
  icon: 'line-chart',
  admin: true,
  subMenu: [
    // 银行定义
    {
      key: 'bank-definition',
      url: '/main/basic-data/bank-definition',
      components: BankDefinitionComp,
      parent: 'basic-data',
      tenant: true,
    },
    {
      key: 'laborer-and-driver',
      url: '/main/basic-data/laborer-and-driver',
      components: LabdrerAndDriver,
      parent: 'basic-data',
      tenant: true,
    },
    {
      key: 'vehicle',
      url: '/main/basic-data/vehicle',
      components: Vehicle,
      parent: 'basic-data',
      // tenant: true,
      children: {
        BasicDataVehicleDetail: {
          key: 'vehicle-detail',
          url: '/main/basic-data/vehicle/vehicle-detail/:id',
          components: VehicleDetail,
          parent: 'vehicle'
        },
      }
    },
    {
      key: 'regional-market',
      url: '/main/basic-data/regional-market',
      components: RegionalMarket,
      parent: 'basic-data',
      tenant: true
    },
    {
      key: 'gift-contact',
      url: '/main/basic-data/gift-contact',
      components: GiftContact,
      parent: 'basic-data',
      tenant: true,
    },
    {
      key: 'import-public-card',
      url: '/main/basic-data/import-public-card',
      components: ImportPublicCard,
      parent: 'basic-data',
      tenant: true,
    },
  //BOG实体卡库存
  {
    key: 'bog-stock',
    url: '/main/basic-data/bog-stock',
    components: BOGEntityCardStock,
    parent: 'basic-data',
    tenant: true,
  },
  ]
};

export default basicData;
